//用户模块的请求api
import axios from '../utils/axiosInstance.js'

//生成二维码支付
export const createAliPay=(params)=>{
    return axios({
            url:`/pay/createAlipayOrder`,
            params
          })
}
//查询订单支付的状态
export const queryStatus=(params)=>{
    return axios({
        url:`/pay/queryPayStatus`,
        params
    })
}

//查询订单中用户的某个课程的支付的状态
export const queryCourseInOrdersStatus=(params)=>{
    return axios({
        url:`/pay/queryCourseInOrdersStatus`,
        params
    })
}

